<%@page import="java.util.ArrayList"%>
<%@page import="java.lang.reflect.Array"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<h2>kjasklndaknk</h2>
.kansklanskjjnkjbDKb
<%ArrayList<String> names=new ArrayList<String>();
names.add("ravi");
names.add("sree");
names.add("ruchi");
%>
<s:select label="MyList"
       name="myList"
       headerKey="-1" headerValue="Select Value"
       list="myList"

/>
   
</body>
</html>